package org.bigdata.framework.core.protocol;

import java.util.HashMap;
import java.util.List;

import org.bigdata.framework.core.model.AppCircles;
import org.bigdata.framework.core.model.AppCirclesComment;
import org.bigdata.framework.core.model.AppCirclesDianzan;

/**
 * 2017-2-15 09:46:54
 * 
 * @author vimes app圈子模块
 */
public interface IAppService {

	/* 圈子操作 start */
	
	/* 圈子基本信息start */
	AppCircles saveAppCircles(AppCircles appCircles);
	AppCircles editAppCircles(AppCircles appCircles);
	void deleteAppCircles(AppCircles appCircles);
	AppCircles findAppCircles(Integer id);
	List<AppCircles> getAppCircles();
	List<AppCircles> getAppCircles(HashMap<String, Object> queryParams, int pageNumber, int pageSize);
	Integer getAppCirclesCount(HashMap<String, Object> queryParams);
	/* 圈子基本信息 end */
	
	/* 圈子评论 start */
	AppCirclesComment saveAppCirclesComment(AppCirclesComment appCirclesComment);
	AppCirclesComment editAppCirclesComment(AppCirclesComment appCirclesComment);
	void deleteAppCirclesComment(AppCirclesComment appCirclesComment);
	AppCirclesComment findAppCirclesComment(Integer id);
	List<AppCirclesComment> getAppCirclesComment();
	List<AppCirclesComment> getAppCirclesComment(HashMap<String, Object> queryParams, int pageNumber, int pageSize);
	Integer getAppCirclesCommentCount(HashMap<String, Object> queryParams);
	/* 圈子评论 end */
	
	/* 圈子点赞 start */
	AppCirclesDianzan saveAppCirclesDianzan(AppCirclesDianzan appCirclesDianzan);
	AppCirclesDianzan editAppCirclesDianzan(AppCirclesDianzan appCirclesDianzan);
	void deleteAppCirclesDianzan(AppCirclesDianzan appCirclesDianzan);
	AppCirclesDianzan findAppCirclesDianzan(Integer id);
	List<AppCirclesDianzan> getAppCirclesDianzan();
	List<AppCirclesDianzan> getAppCirclesDianzan(HashMap<String, Object> queryParams, int pageNumber, int pageSize);
	Integer getAppCirclesDianzanCount(HashMap<String, Object> queryParams);
	/* 圈子点赞 end */
	
	/* 圈子操作 end */
	
}
